package com.lib.model.dto;

import java.io.Serializable;
import java.sql.Date;
import java.sql.Timestamp;
/*
 RN
DATABOARD_NUM
TITLE
CONTENTS
FILEPATH
INPUTDATE
DOWNCOUNT
COUNT
ID
*/
public class DataBoardDto implements Serializable {
	
	private String rn;
	private int databoard_num;
	private String title;
	private String contents;
	private Date inputdate;
	private int downcount;
	private int count;
	private String id;
	private String fileName;
	private String showFileName;
	public DataBoardDto() {
		super();
		// TODO Auto-generated constructor stub
	}
	public DataBoardDto(String rn, int databoard_num, String title,
			String contents, Date inputdate, int downcount, int count,
			String id, String fileName, String showFileName) {
		super();
		this.rn = rn;
		this.databoard_num = databoard_num;
		this.title = title;
		this.contents = contents;
		this.inputdate = inputdate;
		this.downcount = downcount;
		this.count = count;
		this.id = id;
		this.fileName = fileName;
		this.showFileName = showFileName;
	}
	public String getRn() {
		return rn;
	}
	public void setRn(String rn) {
		this.rn = rn;
	}
	public int getDataboard_num() {
		return databoard_num;
	}
	public void setDataboard_num(int databoard_num) {
		this.databoard_num = databoard_num;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContents() {
		return contents;
	}
	public void setContents(String contents) {
		this.contents = contents;
	}
	public Date getInputdate() {
		return inputdate;
	}
	public void setInputdate(Date inputdate) {
		this.inputdate = inputdate;
	}
	public int getDowncount() {
		return downcount;
	}
	public void setDowncount(int downcount) {
		this.downcount = downcount;
	}
	public int getCount() {
		return count;
	}
	public void setCount(int count) {
		this.count = count;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getFileName() {
		return fileName;
	}
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	public String getShowFileName() {
		return showFileName;
	}
	public void setShowFileName(String showFileName) {
		this.showFileName = showFileName;
	}
	
	@Override
	public String toString() {
		return "DataBoardDto [rn=" + rn + ", databoard_num=" + databoard_num
				+ ", title=" + title + ", contents=" + contents
				+ ", inputdate=" + inputdate + ", downcount=" + downcount
				+ ", count=" + count + ", id=" + id + ", fileName=" + fileName
				+ ", showFileName=" + showFileName + "]";
	}
	
	
	
	
	
	

}
